/**
 * 
 */
package com.shine.icis.blo;

import com.shine.cotrun.sql.QueryParameters;
import com.shine.cotrun.web.comm.ListPage;
import com.shine.icis.hbean.AccrualInfo;
import com.shine.icis.exception.ICISException;
/**
 * @author zsy
 *
 */
public interface IAccrualInfoService {
	
	/**
	 * 增加
	 * @param deptCode
	 * @param deptName
	 * @param intDeptCode
	 * @param occurDate
	 * @throws ICISException
	 */
	public void addAccrualInfo(int tradeDate, String arapType, String oppPar, String mktCodeSipf, 
			String arapBusiType, String curTypeSipf, String arapReason, double arapAmt, 
			int harapDate, Integer arapDate, String summary, int busiDate) throws ICISException;
	
	/**
	 * 修改
	 * @param oldDeptCode
	 * @param oldIntDeptCode
	 * @param deptCode
	 * @param deptName
	 * @param intDeptCode
	 * @param occurDate
	 * @throws ICISException
	 */
	public void modifyAccrualInfo(long id, int tradeDate, String arapType, String oppPar, String mktCodeSipf, 
			String arapBusiType, String curTypeSipf, String arapReason, double arapAmt, 
			int harapDate, Integer arapDate, String summary, int busiDate) throws ICISException;
	
	/**
	 * 删除
	 * @param oldDeptCode
	 * @param oldIntDeptCode
	 */
	public void deleteAccrualInfo(long id);
	
	/**
	 * 翻页查找
	 * @param dataDate
	 * @return
	 */
	public ListPage<AccrualInfo> getAccrualInfoPage(QueryParameters qp);
}
